/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Util;

import java.util.*;

/**
 *
 * @author u61851
 */
public class Producto {

    private int codigo;
    private String detalle;
    private float precio;
    public static int stockMin;
    public static int stockMax;
    private int stockReal;

    public Producto(int codigo, String detalle, float precio, int stockReal) {
        this.codigo = codigo;
        this.detalle = detalle;
        this.precio = precio;
        this.stockReal = stockReal;
    }

    public int getCodigo() {
        return codigo;
    }

    public void setCodigo(int codigo) {
        this.codigo = codigo;
    }

    public String getDetalle() {
        return detalle;
    }

    public void setDetalle(String detalle) {
        this.detalle = detalle;
    }

    public float getPrecio() {
        return precio;
    }

    public void setPrecio(float precio) {
        this.precio = precio;
    }

    public static int getStockMax() {
        return stockMax;
    }

    public static void setStockMax(int stockMax) {
        Producto.stockMax = stockMax;
    }

    public static int getStockMin() {
        return stockMin;
    }

    public static void setStockMin(int stockMin) {
        Producto.stockMin = stockMin;
    }

    public int getStockReal() {
        return stockReal;
    }

    public void setStockReal(int stockReal) {
        this.stockReal = stockReal;
    }
}
